<?php

namespace app\admin\model;

use think\Model;
use think\Db;

/*
 * 美容师级别
 */

class StaffRank extends Model {
    
    /*查询id对应的级别名*/
   static public function rankName($id){
       return StaffRank::where('id','=',$id)->value('name');
   }

}
